package org.ccay.core.test;

import java.util.Hashtable;

import javax.naming.spi.InitialContextFactory;

import org.springframework.mock.jndi.SimpleNamingContextBuilder;

/**
 * InitialContextFactoryBuilder的简单实现。
 * 
 */
public class NamingContentBuilder extends SimpleNamingContextBuilder {

	@Override
	public InitialContextFactory createInitialContextFactory(Hashtable<?, ?> environment) {
		return super.createInitialContextFactory(null);
	}

}